﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
<title>会员注册</title>
<link href="/static/css/base.css" rel="stylesheet">
<!--[if lt IE 9]>
    <script src="/static/js/html5shiv.js"></script>
    <![endif]-->
</head>
<body id="login_body">
<div class="login_top_btn"><a class="btn" href="/user/login">立即登录</a></div>
<section class="reg_box">
	<form class="login-form" action="/user/reg" method="post">
                   		<div class="logo_icon"></div>
						<div class="logo_text">【会员注册】</div>
       <div class="form_body">
          <div class="control-group">
            <label class="control-label" for="username">用户名</label>
            <div class="controls">
              <input type="username" id="username" required class="form-control" placeholder="请输入用户名"  name="username">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="passwd">密 码</label>
            <div class="controls">
              <input type="password" id="passwd"  required class="form-control" placeholder="请输入6-20位字符"  name="passwd">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="en_passwd">确认密码</label>
            <div class="controls">
              <input type="password" id="en_passwd" required class="form-control" placeholder="请确认您的密码"  name="en_passwd">
            </div>
          </div>
          <div class="control-group">
            <label class="control-label" for="mail">邮箱</label>
            <div class="controls">
              <input type="email" id="mail" required class="form-control" placeholder="请输入您的电子邮件"   name="mail">
            </div>
          </div>
           <div class="control-group">
            <label class="control-label" for="en_mail">确认邮箱</label>
            <div class="controls">
              <input type="email" id="en_mail" required class="form-control" placeholder="请确认您的电子邮件" name="en_mail">
            </div>
          </div>
           <div class="control-group">
            <label class="control-label" for="phone">手机号码</label>
            <div class="controls">
              <input type="tel" id="phone" required class="form-control" placeholder="请输入您的手机号码"  name="phone">
            </div>
          </div>
          <div class="control-group">
          	<label class="control-label">&nbsp;</label>
            <div class="controls">
              <button type="submit" class="btn btn-large">注 册</button>
            </div>
          </div>
           {% if result %}
                {% if result['message'] %}
                    <div class="alert alert-danger">
                        {{ result['message'] }}
                    </div>
                {% endif %}
           {% endif %}
      </div>
    </form>
</section>
</body>
</html>


